<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ page language="java" import="com.appointment.web.*" %>
<%@ page language="java" import="java.util.Date" %>
<!DOCTYPE HTML>
<html>
<head>
<title>The Free Photo-On Website Template | Home :: w3layouts</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="../resources/css/style.css" rel="stylesheet" type="text/css" media="all" />
<link rel="stylesheet" href="../resources/css/style3.css" type="text/css">
<link href="../resources/admin/css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../resources/js/jquery.min.js"></script>
<script type="text/javascript" src="../resources/js/work.js"></script>
</head>
<body>
<div id="header" style="width:auto;height:96px;background-color:#9C0B0C;padding:3px 0 3px 7%;margin:0">
		<a href="${pageContext.request.contextPath }/admin/tohome"><image src="../resources/images/logo.jpg" style="height:90px;width:90%"></image></a>
</div>
<div class="navbg">
  <div class="col960">
    <ul id="navul" class="cl">
      <li class="navhome"><a href="${pageContext.request.contextPath }/admin/tohome">主页</a></li>
      <li>打印成绩单
        <ul>
          <li><a href="${pageContext.request.contextPath }/admin/getscoresMes">未处理</a></li>
          <li><a href="${pageContext.request.contextPath }/admin/getscoresedMes">已处理</a></li>
        </ul>
      </li>
      <li>在校证明打印
        <ul>
          <li><a href="${pageContext.request.contextPath }/admin/getconfirmMes">未处理</a></li>
          <li><a href="${pageContext.request.contextPath }/admin/getconfirmedMes">已处理</a></li>
        </ul>
      </li>
      <li><a href="${pageContext.request.contextPath }/admin/tosendMes">通知信息</a>
      </li>
     </ul>
  </div>
</div>
<script  type="text/javascript"> 
$(".navbg").capacityFixed();
</script>
<div class="wrap">
<br>
<div style="margin-top:50px">
<span class="line"></span><a href="#" class="line-anchor"><font size="+2">打印成绩 已处理</font></a><span class="line"></span>
</div>
	<div class="header-left">
		<div id="container">   

            <table class="zebra">
            	
                <thead>
                    <tr>
                    	<th>学号</th>
                        <th>姓名</th>
                        <th>电话</th>
                        <th>申请时间</th>
                        <th>审理状态</th>
                    </tr>
                </thead>
                <tbody>
                <c:forEach items="${page.list }" var="c">
                    <tr>
                    		<th><c:out value="${c.stu_number }"></c:out></th>
	                        <th><c:out value="${c.username }"></c:out> </th>
	                        <th><c:out value="${c.number }"></c:out></th>
	                        <th><c:out value="${c.day }"></c:out></th>
	                        <th>
	                        <c:if test="${c.state==0}">未处理</c:if>
	                        <c:if test="${c.state==1}">已处理</c:if>
	                        <c:if test="${c.state==2}">驳回</c:if>
	                        </th>
                    </tr>
                </c:forEach>
                </tbody>
                <tfoot>
                    <tr>
                        <th colspan="6">
                            <font>
                            <a href="${pageContext.request.contextPath }/admin/getscoresedMes?thispage=1"><button type="button" class="myButton">首页</button></a>
                            <c:if test="${page.thispage!=1 }">
                            <a href="${pageContext.request.contextPath }/admin/getscoresedMes?thispage=${page.thispage-1 }">
                            <button type="button" class="myButton">上一页</button>
                            </a>
                            </c:if> 
                        
                            <c:if test="${page.thispage==1 }">
                             <button type="button" class="myButton">
                                	上一页
                            </button>    	
                            </c:if> 
                            
                            
                            <c:if test="${page.thispage!=page.countpage }">
                            <button type="button" class="myButton">
                                <a href="${pageContext.request.contextPath }/admin/getscoresedMes?thispage=${page.thispage+1 }">下一页</a>
                            </button>
                            </c:if> 
                            
                            <c:if test="${page.thispage==page.countpage }">
                            <button type="button" class="myButton">
                                	下一页
									</button>
                            </c:if> 
                            
                            
                            <button type="button" class="myButton"><a href="${pageContext.request.contextPath }/admin/getscoresedMes?thispage=${page.countpage }">尾页</a></button>
                            </font>
                        </th>
                    </tr>
                </tfoot>
            </table>
        </div>
    </div>
    <hr style="width:100%;color:#ccc">
    <div class="ftr-bg">
        <div class="footer" style="height:5%;width:auto;padding-top:3px;">
            <p class="w3-link"><span>© All Rights Reserved | Design by&nbsp; <a href="http://w3layouts.com/"> W3L9</a></span></p>
		</div>
	</div>
</div>

</body>
</html>
